import fetch from '@/utils/fetch'
const RecycleCompanyApi = {
    getPageList (params) {
      return fetch({
        url: '/api/recycle/company/page',
        method: 'get',
        params: params
      })
    },
    add (params) {
      return fetch({
        url: '/api/recycle/company/add',
        method: 'post',
        data: params
      })
    },
    update (params) {
      return fetch({
        url: '/api/recycle/company/' + params.id,
        method: 'put',
        data: params
      })
    },
    del (params) {
      return fetch({
        url: '/api/recycle/company/' + params,
        method: 'delete'
      })
    },
  }
  export default RecycleCompanyApi
  